<%@ page language="java" 
         import="model.UserBean"
         import="java.io.*"
         import="java.util.*"
         %>

<div id="footer">
    <!--div class="column">
        <h3>Information</h3>
        <ul>
            <li><a href="aboutus.htm">About Us</a></li>
            <li><a href="policy.htm">Privacy Policy</a></li>
            <li><a href="termsandconditions.htm">Terms &amp; Conditions</a></li>
        </ul>
    </div>
    <div class="column">
        <h3>User Service</h3>
        <ul>
            <li><a href="contactadmin.htm">Contact Administrator</a></li>
            <li><a href="sitemap.htm">Site Map</a></li>
        </ul>
    </div-->
    <div class="column">
        <h3>Event Service</h3>
        <ul>
            <li><a href="searchevent.htm">Search for an Event</a></li>
        </ul>
    </div>
    <div class="column">
        <h3>My Account</h3>
        <ul>
            <li><a href="account.htm">My Account</a></li>
            <%
            Enumeration enames;

            enames = session.getAttributeNames();

            if (!enames.hasMoreElements()) {%>
            <%}
        else{
                        UserBean currentUser = (UserBean)(session.getAttribute("currentSessionUser"));
        %>
        <% if(currentUser.isValid())  {%>
            <li><a href="logout.htm">Log Out</a></li>
            <%  } }  %>
        </ul>
    </div>
</div>